/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const projectRouter = {
  path: '/project',
  component: Layout,
  redirect: '/project/userInfo',
  name: 'project',
  meta: {
    title: '项目管理',
    icon: 'table'
  },
  children: [{
      path: 'accountManage',
      component: () => import('@/views/projectManage/accountManage/index'),
      name: 'accountManage',
      meta: {
        title: '账户管理'
      }
    },
    {
      path: 'baseInfo',
      component: () => import('@/views/projectManage/baseInfo/index'),
      name: 'baseInfo',
      meta: {
        title: '基本信息'
      }
    },
    {
      path: 'contractTemplate',
      component: () => import('@/views/projectManage/contractTemplate/index'),
      name: 'contractTemplate',
      meta: {
        title: '合同模板'
      }
    },
    {
      path: 'projectManage',
      component: () => import('@/views/projectManage/projectManage/index'),
      name: 'projectManage',
      meta: {
        title: '项目管理'
      }
    },
    {
      path: 'taskRelease',
      component: () => import('@/views/projectManage/taskRelease/index'),
      name: 'taskRelease',
      meta: {
        title: '职位发布'
      }
    },

  ]
}
export default projectRouter
